<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0027)http://itzoo.info/love.html -->
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>七夕快乐</title>
        
        <link type="text/css" rel="stylesheet" href="./Love_files/default.css">
        <script type="text/javascript" src="./Love_files/jquery.min.js"></script>
        <script type="text/javascript" src="./Love_files/jscex.min.js"></script>
        <script type="text/javascript" src="./Love_files/jscex-parser.js"></script>
        <script type="text/javascript" src="./Love_files/jscex-jit.js"></script>
        <script type="text/javascript" src="./Love_files/jscex-builderbase.min.js"></script>
        <script type="text/javascript" src="./Love_files/jscex-async.min.js"></script>
        <script type="text/javascript" src="./Love_files/jscex-async-powerpack.min.js"></script>
        <script type="text/javascript" src="./Love_files/functions.js" charset="utf-8"></script>
        <script type="text/javascript" src="./Love_files/love.js" charset="utf-8"></script>

    </head>
    <body>
        <div id="main">
            <div id="error">亲，您使用的浏览器无法支持即将显示的内容，请换成谷歌(<a href="http://www.google.cn/chrome/intl/zh-CN/landing_chrome.html?hl=zh-CN&brand=CHMI">Chrome</a>)或者火狐(<a href="http://firefox.com.cn/download/">Firefox</a>)浏览器哟~</div>
            <div id="wrap">
               <div id="text">
                    <div id="code">
				<span style="color:#3f7f5f">/**</span><br>
                <span style="margin-left:7px"><span style="color:#3f7f5f">*因为我是一个程序员,</span><br>
                <span style="margin-left:7px"><span style="color:#3f7f5f">*所以我写一些代码来显示我对你的爱.</span><br>
                <span style="margin-left:7px"><span style="color:#3f7f5f">*/</span><br>
                Boy i = <span style="color:#7f0055;font-weight:bold">new</span> Boy(<span style="color:#2a36ff">"我"</span>);<br>
                Girl u = <span style="color:#7f0055;font-weight:bold">new</span> Girl(<span style="color:#2a36ff">"你"</span>);<br>
                <span style="color:#3f7f5f">//我喜欢你  </span><br>
                i.love(u);<br>
                <span style="color:#3f7f5f">//不知从何说起 </span><br>
                u.sayOtherthing();<br>
                <span style="color:#3f7f5f">// 没有原因。</span><br>
                <span style="color:#7f0055;font-weight:bold">var</span> reason=i.ask(u);<br>
                <span style="color:#3f7f5f">// 我们并没有足够的了解对方。</span><br>
                $("body").append(reason);<br>
                <span style="color:#3f7f5f">// 我们的关系发展毫无前途。</span><br>
                <span style="color:#3f7f5f">// And take care of u and our love.</span><br>
                i.takeCareOf(u);<br>
                <span style="color:#3f7f5f">// 所以我一直在等待，我有信心，你会。</span><br>
                <span style="color:#7f0055;font-weight:bold">boolean</span> isAccept = <span style="color:#7f0055;font-weight:bold">false</span>;<br>
                <span style="color:#7f0055;font-weight:bold">while</span> (isAccept) {<br>
                <span style="margin-left:15px">i.waitFor(u);<br>
                <span style="margin-left:15px"><span style="color:#3f7f5f">// 我觉得是一个重要的决定</span><br>
                <span style="margin-left:15px">isAccept = u.thinkOver();<br>
                }<br>
                <span style="color:#3f7f5f">// 如果你接受我，我们将会生活幸福快乐的日子。</span><br>
                u.accept(i);<br>
                i.liveHappilyWith(u);<br>
            </span></span></span></span></span></span></span>_</div>
                </div>
				<!--
                <div id="clock-box">
                    <a href="http://blog.csdn.net/wuxia2001" target="_blank">@wuxia2001</a> 与 <a href="http://blog.csdn.net/wuxia2001" target="_blank">@月亮女</a> 在一起的
                        <div id="clock"></div>
                </div>
				-->
                <canvas id="canvas" width="1100" height="680"></canvas>
            </div>
            <audio src="love.mp3" autoplay="autoplay"></audio>
        </div>
    
    <script>
    </script>

    <script>
    (function(){
        var canvas = $('#canvas');

        if (!canvas[0].getContext) {
            $("#error").show();
            return false;
        }

        var width = canvas.width();
        var height = canvas.height();
        
        canvas.attr("width", width);
        canvas.attr("height", height);

        var opts = {
            seed: {
                x: width / 2 - 20,
                color: "rgb(190, 26, 37)",
                scale: 2
            },
            branch: [
                [535, 680, 570, 250, 500, 200, 30, 100, [
                    [540, 500, 455, 417, 340, 400, 13, 100, [
                        [450, 435, 434, 430, 394, 395, 2, 40]
                    ]],
                    [550, 445, 600, 356, 680, 345, 12, 100, [
                        [578, 400, 648, 409, 661, 426, 3, 80]
                    ]],
                    [539, 281, 537, 248, 534, 217, 3, 40],
                    [546, 397, 413, 247, 328, 244, 9, 80, [
                        [427, 286, 383, 253, 371, 205, 2, 40],
                        [498, 345, 435, 315, 395, 330, 4, 60]
                    ]],
                    [546, 357, 608, 252, 678, 221, 6, 100, [
                        [590, 293, 646, 277, 648, 271, 2, 80]
                    ]]
                ]] 
            ],
            bloom: {
                num: 700,
                width: 1080,
                height: 650,
            },
            footer: {
                width: 1200,
                height: 5,
                speed: 10,
            }
        }

        var tree = new Tree(canvas[0], width, height, opts);
        var seed = tree.seed;
        var foot = tree.footer;
        var hold = 1;

        canvas.click(function(e) {
            var offset = canvas.offset(), x, y;
            x = e.pageX - offset.left;
            y = e.pageY - offset.top;
            if (seed.hover(x, y)) {
                hold = 0; 
                canvas.unbind("click");
                canvas.unbind("mousemove");
                canvas.removeClass('hand');
            }
        }).mousemove(function(e){
            var offset = canvas.offset(), x, y;
            x = e.pageX - offset.left;
            y = e.pageY - offset.top;
            canvas.toggleClass('hand', seed.hover(x, y));
        });

        var seedAnimate = eval(Jscex.compile("async", function () {
            seed.draw();
            while (hold) {
                $await(Jscex.Async.sleep(10));
            }
            while (seed.canScale()) {
                seed.scale(0.95);
                $await(Jscex.Async.sleep(10));
            }
            while (seed.canMove()) {
                seed.move(0, 2);
                foot.draw();
                $await(Jscex.Async.sleep(10));
            }
        }));

        var growAnimate = eval(Jscex.compile("async", function () {
            do {
                tree.grow();
                $await(Jscex.Async.sleep(10));
            } while (tree.canGrow());
        }));

        var flowAnimate = eval(Jscex.compile("async", function () {
            do {
                tree.flower(2);
                $await(Jscex.Async.sleep(10));
            } while (tree.canFlower());
        }));

        var moveAnimate = eval(Jscex.compile("async", function () {
            tree.snapshot("p1", 240, 0, 610, 680);
            while (tree.move("p1", 500, 0)) {
                foot.draw();
                $await(Jscex.Async.sleep(10));
            }
            foot.draw();
            tree.snapshot("p2", 500, 0, 610, 680);

            // 会有闪烁不得意这样做, (＞﹏＜)
            canvas.parent().css("background", "url(" + tree.toDataURL('image/png') + ")");
            canvas.css("background", "#ffe");
            $await(Jscex.Async.sleep(300));
            canvas.css("background", "none");
        }));

        var jumpAnimate = eval(Jscex.compile("async", function () {
            var ctx = tree.ctx;
            while (true) {
                tree.ctx.clearRect(0, 0, width, height);
                tree.jump();
                foot.draw();
                $await(Jscex.Async.sleep(25));
            }
        }));

        var textAnimate = eval(Jscex.compile("async", function () {
            var together = new Date();
            together.setFullYear(2010, 5, 8);
            together.setHours(20);
            together.setMinutes(20);
            together.setSeconds(0);
            together.setMilliseconds(0);

            $("#code").show().typewriter();
            $("#clock-box").fadeIn(500);
            while (true) {
                timeElapse(together);
                $await(Jscex.Async.sleep(1000));
            }
        }));

        var runAsync = eval(Jscex.compile("async", function () {
            $await(seedAnimate());
            $await(growAnimate());
            $await(flowAnimate());
            $await(moveAnimate());

            textAnimate().start();

            $await(jumpAnimate());
        }));

        runAsync().start();
    })();
	
	var param = '{"data":[{"designerid":"OP.40326","deptid":null,"designerheadportrait":"http://opyx-assp-test.oss-cn-shenzhen.aliyuncs.com/9.png-837a0273-eb39-4168-8e97-dfa92cd85f99","designername":"何念","designersex":0,"designerphone":"123","designertype":"1","designeradvantage":"1.搬砖\n2.还是搬砖\n3.依旧是搬砖","designerstyle":"sky1","designereduexp":"1","designerjobexp":"2","designerprofield":"3","designerexccase":null,"designerprocnt":null,"designerproarea":null,"designerlabel":"sky2","designerstatus":null,"designerrecom":null,"designerlevel":null,"joindate":"2011-05-10","createtime":1493038517000,"createuser":null,"modifytime":1495420254000,"modifyuser":"OP.16837","designerfilegrouppojo":[{"groupid":"0450d1fa-6226-4bab-845b-7e0a712f7c9f","designerid":"OP.40326","type":null,"grserialnumber":5,"designerfiles":[{"fileid":"9ace195b-6838-4f2e-a665-60efa1298b3b","filepath":"http://opyx-assp-test.oss-cn-shenzhen.aliyuncs.com/1495418078629pp1.ppt","filename":"pp1.ppt","filekey":"1495418078629pp1.ppt","casedesc":"案例1","ordernum":"1"},{"fileid":"2d6d8b7f-2636-4d45-822c-92ce70381a97","filepath":"http://opyx-assp-test.oss-cn-shenzhen.aliyuncs.com/1495418083196pp3.pptx","filename":"pp3.pptx","filekey":"1495418083196pp3.pptx","casedesc":"案例2","ordernum":"2"}]},{"groupid":"96c1860d-6324-40bb-b94a-d17ad36e6f8b","designerid":"OP.40326","type":"jpg","grserialnumber":1,"designerfiles":[{"fileid":"f90f1245-59ba-4de5-9e88-a69644436edf","filepath":"http://opyx-assp-test.oss-cn-shenzhen.aliyuncs.com/149541806127810.jpg","filename":"10.jpg","filekey":"149541806127810.jpg","casedesc":"123","ordernum":"1"}]},{"groupid":"354107e9-70cb-473f-b3bd-9ba2f11522b5","designerid":"OP.40326","type":"jpg","grserialnumber":2,"designerfiles":[{"fileid":"8678b35b-dd13-478b-a451-4d0dc32e481a","filepath":"http://opyx-assp-test.oss-cn-shenzhen.aliyuncs.com/149541806596011.jpg","filename":"11.jpg","filekey":"149541806596011.jpg","casedesc":"456","ordernum":"1"}]},{"groupid":"03511502-091c-432e-a754-745316fd722a","designerid":"OP.40326","type":"jpg","grserialnumber":3,"designerfiles":[{"fileid":"df8b4333-eb93-4299-878e-acf0537a7611","filepath":"http://opyx-assp-test.oss-cn-shenzhen.aliyuncs.com/149541807099255.jpg","filename":"55.jpg","filekey":"149541807099255.jpg","casedesc":"789","ordernum":"1"}]},{"groupid":"97247fd4-0884-43c2-bb00-17222b20d4f5","designerid":"OP.40326","type":"jpg","grserialnumber":4,"designerfiles":[{"fileid":"629ad613-7755-4409-906b-22234e9639d3","filepath":"http://opyx-assp-test.oss-cn-shenzhen.aliyuncs.com/149541807432156.jpg","filename":"56.jpg","filekey":"149541807432156.jpg","casedesc":"11-","ordernum":"1"}]}],"designerskillsrelationPojo":[{"desskillrelid":"05bd5880-9d40-4c0f-a193-e9170e43a74d","designerid":"OP.40326","designerskillname":"技能3","designercategory":"category_chugui","designerbrand":"brand_oppein","designerprice":110,"schemeplanprice":null,"activityexecutprice":null,"dutiesskill":0,"createtime":null,"createuser":null,"modifytime":null,"modifyuser":null,"status":null,"designerskillareapojo":[{"desskillrelid":"05bd5880-9d40-4c0f-a193-e9170e43a74d","supportarea":{"supportareaid":"130000000000","supportareaname":"河北省","createtime":null,"createuser":null,"modifytime":null,"modifyuser":null}}],"designerLinePojo":[{"lineId":"1a27cb89d0394faca45ff0b0f6e37a38","lineName":"测试1"}]},{"desskillrelid":"1ea8ba5c-91ab-43c1-b3d1-47cfdd8f1a18","designerid":"OP.40326","designerskillname":"技能3","designercategory":"category_qiangshi","designerbrand":"brand_oppein","designerprice":123,"schemeplanprice":null,"activityexecutprice":null,"dutiesskill":1,"createtime":null,"createuser":null,"modifytime":null,"modifyuser":null,"status":null,"designerskillareapojo":[{"desskillrelid":"1ea8ba5c-91ab-43c1-b3d1-47cfdd8f1a18","supportarea":{"supportareaid":"330000000000","supportareaname":"浙江省","createtime":null,"createuser":null,"modifytime":null,"modifyuser":null}}],"designerLinePojo":[{"lineId":"1a27cb89d0394faca45ff0b0f6e37a38","lineName":"测试1"}]},{"desskillrelid":"64f66da8-69fd-4cea-82e6-47613c67d99f","designerid":"OP.40326","designerskillname":"技能1","designercategory":"category_chugui","designerbrand":"brand_oppein","designerprice":120,"schemeplanprice":null,"activityexecutprice":null,"dutiesskill":1,"createtime":null,"createuser":null,"modifytime":null,"modifyuser":null,"status":null,"designerskillareapojo":[{"desskillrelid":"64f66da8-69fd-4cea-82e6-47613c67d99f","supportarea":{"supportareaid":"110000000000","supportareaname":"北京市","createtime":null,"createuser":null,"modifytime":null,"modifyuser":null}}],"designerLinePojo":[{"lineId":"1a27cb89d0394faca45ff0b0f6e37a38","lineName":"测试1"}]},{"desskillrelid":"ab4d7e2d-a769-4115-b56c-9a682ac8ff07","designerid":"OP.40326","designerskillname":"技能","designercategory":"category_mumen","designerbrand":"brand_oppein","designerprice":2,"schemeplanprice":null,"activityexecutprice":null,"dutiesskill":1,"createtime":null,"createuser":null,"modifytime":null,"modifyuser":null,"status":null,"designerskillareapojo":[{"desskillrelid":"ab4d7e2d-a769-4115-b56c-9a682ac8ff07","supportarea":{"supportareaid":"210000000000","supportareaname":"辽宁省","createtime":null,"createuser":null,"modifytime":null,"modifyuser":null}}],"designerLinePojo":[{"lineId":"1a27cb89d0394faca45ff0b0f6e37a38","lineName":"测试1"}]},{"desskillrelid":"f4a29f83-3078-4b6b-9df6-a58e1588e134","designerid":"OP.40326","designerskillname":"技能3","designercategory":"category_chugui","designerbrand":"brand_oboli","designerprice":120,"schemeplanprice":null,"activityexecutprice":null,"dutiesskill":0,"createtime":null,"createuser":null,"modifytime":null,"modifyuser":null,"status":null,"designerskillareapojo":[{"desskillrelid":"f4a29f83-3078-4b6b-9df6-a58e1588e134","supportarea":{"supportareaid":"110000000000","supportareaname":"北京市","createtime":null,"createuser":null,"modifytime":null,"modifyuser":null}}],"designerLinePojo":[{"lineId":"1a27cb89d0394faca45ff0b0f6e37a38","lineName":"测试1"}]}],"sex":"男","personname":"何念","mobilephone":"123","deptname":"营销信息化管理部/前端技术组","postname":"前端开发工程师","isDesigner":0,"isUploading":false,"designerprice":120,"userid":"OP.40326","deptcode":"1633","sexcode":null,"designertypedesc":"主动营销专员","loaderId":null,"lsDeptId":null}]}';
	/*
	
	$.ajax({
            //提交数据的类型 POST GET
            type:"POST",
            //提交的网址
            url:"http://127.0.0.1:8080/assp/api/point/designerinfo/savaDesignerBaseinfo.json",
            //提交的数据
            data:{"jsonDesigner":param},
            //返回数据的格式
            datatype: "json",//"xml", "html", "script", "json", "jsonp", "text".
            //在请求之前调用的函数
            //成功返回之后调用的函数             
            success:function(data){
				console.log(data);
            }   ,
            //调用执行后调用的函数
            complete: function(XMLHttpRequest, textStatus){
               alert(XMLHttpRequest.responseText);
               alert(textStatus);
                //HideLoading();
            },
            //调用出错执行的函数
            error: function(data){
                //请求出错处理
				console.log(data);
            }         
         });*/
    </script>



</body></html>